'use strict';

define(['services'], function (services) {
    services.collection.register('FileService', ['$resource', function ($resource) {
        return $resource('/rest/collection/:id/file/:nodeId', {
            id: '@id',
            nodeId: '@nodeId'
        }, {});
    }]);
});